/*
 * CSocketTester.cpp
 *
 *  Created on: 6 oct. 2009
 *      Author: Maxime Gaudin
 */
#include "../Sockets/CSocket.h"
#include <iostream>

using namespace std;

int main(int argc, char** argv)
{
	cout << "Test !" << endl;

	CSocket Skt("googe.fr", 80);
	Skt.Connect();

	Skt.Send(string("GET / HTTP/1.1\r\nHost: www.google.fr\r\n\r\n"));
	Skt.Receive();

	Skt.Disconnect();
}
